package com.itqf.utils;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * projectName: logandquartzgp8
 *
 * @author: 赵伟风
 * time: 2021/8/10 11:12
 * description:
 */
public class Car {

    Logger logger = LoggerFactory.getLogger(Car.class);

    public  void songshousha(){
        //松手刹
        logger.trace("松手刹");
    }

    public  void dianhuo(){
        //点火
        logger.trace("点火");
    }

    public  void guadang(int dang){

        logger.debug("起步挂挡:{}", dang);

        if (dang>1)
        {
            logger.warn("汽车起步档数为:{},超过1档,档数过高,建议1当起步!",dang);
        }

        //挂挡
        logger.trace("挂挡");
    }

    public  void cailihe(){
        //踩离合
        logger.trace("踩离合");
    }

    public  void songlihe(){
        //松离合
        logger.trace("松离合");
    }

    public  void jiayoumen(){
        //加油门
        logger.trace("加油门");
    }
}
